package cn.ren.service;

import cn.ren.dao.RoleDao;
import cn.ren.pojo.Role;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(interfaceClass = LZRoleService.class)
public class LZRoleServiceImpl implements LZRoleService {
    @Autowired
    RoleDao roleDao;

    @Override
    public List<Role> findAll() {
       return roleDao.lzFindAll();

    }
}
